	$(function(){
	   easyloader.base = 'js/tools/easyui/';
	   using("locale/easyui-lang-zh_CN.js",function(){
	      var columns=[[
	                              {field: 'id',title: '标识',width: 80,align: 'center',hidden:true},
						          {field: 'title',title: '名称',width: 150,align: 'center'},
						          {field: 'sort',title: '排序',width: 50,align: 'center'}, 
								  {field: 'opt',title: '操作',width:120,align: 'center'}
							 ]];
	         createDateGrid(columns,'singlePage!singlePageList.action',{"singlePage.columnId":$.query.get("singlePage.columnId")},false,580);
	   });
	});

	//删除单页面
	function deleteSinglePage(id)
	{
		$.getJSON("singlePage!deleteSinglePage.action",{"singlePage.id":id},function(data){
			if(data.info)
			{
				$("#dataGrid").datagrid("reload");
			　　  alert("删除成功");
			}else
			{
				alert("删除失败");
			}
		});
	}
